/*
 * @Description  : 用户中心
 * @Autor        : 杜康
 * @Date         : 2023-03-07 17:57:39 +0800
 * @LastEditors  : 杜康
 * @LastEditTime : 2023-03-07 17:58:36 +0800
 */
import axios from "@/utils/api.request";
export const getUserInfo = (data) => {
  return axios.request({
    url: "/getUserInfo",
    method: "post",
    data: data
  });
};

export const login = (data) => {
  return axios.request({
    url: "/login",
    method: "POST",
    data: data
  });
};
